package com.jt.safe.ui.teacher.fragment

import androidx.recyclerview.widget.LinearLayoutManager
import com.jt.safe.R
import com.jt.safe.base.BaseFragment
import com.jt.safe.ui.adpter.TeacherMessageAdapter
import com.jt.safe.viewmodel.NullViewModel
import kotlinx.android.synthetic.main.activity_select_time.*
import kotlinx.android.synthetic.main.fragment_teacher_message.*

class TeacherMessageFragment : BaseFragment<NullViewModel>() {

    val data= mutableListOf("","","","","","")
    companion object{
        fun newInstance()=TeacherMessageFragment()
    }

    override val layoutId: Int
        get() = R.layout.fragment_teacher_message

    override fun createObserver() {

    }

    override fun initView() {
        val teacherMessageAdapter = TeacherMessageAdapter()
        recycler.layoutManager=LinearLayoutManager(activity)
        recycler.adapter=teacherMessageAdapter
        teacherMessageAdapter.setNewData(data)
        view_pager
    }

    override fun initData() {

    }
}
